#ifndef __ALARM_TABLE_H_
#define __ALARM_TABLE_H_

typedef struct alarm_rec_s {
	int			recno;
	double		time;
	char		front;
	char		priority;
	char		ack;
	char 		bitnum;
	char		*addr;
	char		*msg;
	char		*comments;
} alarm_rec_t;

typedef struct alarm_item_s {
	PtGenListItem_t item;
	alarm_rec_t rec;
} alarm_item_t;

int read_alarms (PtWidget_t *list_wgt, int min_priority, int clear);

#endif //__ALARM_TABLE_H_